﻿namespace Socket.Core
{
    using System;
    using System.Net.Sockets;
    using System.Runtime.CompilerServices;

    internal class SocketAsyncEventArgsToken
    {
        public SocketAsyncEventArgsToken(Socket sK, SocketAsyncEventArgs args)
        {
            this.Server = sK;
            this.AsyncEventArgs = args;
        }

        public SocketAsyncEventArgs AsyncEventArgs { get; private set; }

        public Socket Server { get; private set; }
    }
}

